package fan.domain;

public class Basket {
    private int baskets_id;
    private  String goods_name;
    private int goods_amount;
    private float goods_total;

    public Basket(){
    }
    public Basket(int baskets_id,String goods_name,int goods_amount,float goods_total){
        this.baskets_id=baskets_id;
        this.goods_name=goods_name;
        this.goods_amount=goods_amount;
        this.goods_total=goods_total;
    }

    public int getBaskets_id() {
        return baskets_id;
    }

    public void setBaskets_id(int baskets_id) {
        this.baskets_id = baskets_id;
    }
    public String getGoods_name() {
        return goods_name;
    }

    public void setGoods_name(String goods_name) {
        this.goods_name = goods_name;
    }

    public int getGoods_amount() {
        return goods_amount;
    }

    public void setGoods_amount(int goods_amount) {
        this.goods_amount = goods_amount;
    }

    public float getGoods_total() {
        return goods_total;
    }

    public void setGoods_total(float goods_total) {
        this.goods_total = goods_total;
    }

    @Override
    public String toString() {
        return "Basket{" +
                "baskets_id=" + baskets_id +
                ", goods_name='" + goods_name + '\'' +
                ", goods_amount=" + goods_amount +
                ", goods_total=" + goods_total +
                '}';
    }
}
